package com.frame.work.entity.relation;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TblZigbeeGatewayMessage {
    private String id;
    /**
     * 设备状态
     */
    @TableField(value = "`switch_state`")
    private String switchState;

    /**
     * 设备状态时间
     */
    @TableField(value = "`switch_time`")
    private LocalDateTime switchTime;

    /**
     * 0：在网 1：离网 2：逻辑删除
     */
    @TableField(value = "`lwbz`")
    private String lwbz;

    /**
     * zigbee设备模块mac地址
     */
    @TableField(value = "`zigbee_mac`")
    private String zigbeeMac;

    /**
     * 网关ZigBee模块mac地址
     */
    @TableField(value = "`gateway_mac`")
    private String gatewayMac;

}
